import 'package:flutter/material.dart';
import 'package:flutter_applearnprogrom/global/global_theme.dart';

/****
 * 修改程序的主题样式
 */
class Theme_ViewModel extends ChangeNotifier {
  int _color = 0;

  int get getColor {
    return _color;
  }


  void  setColor(int color){
    print("color"+color.toString());
    print(themes);
    if(color>themes.length-1)return;
    _color=color;
    notifyListeners();

  }
}
